import { Model } from '@wattjs/network'
// import Config from '../nuxt.config'
import { PREFIX } from './config'
import Http from './request'

// const { PREFIX } = this.$config
export const userLogin = Model(Http, {
  prefix: PREFIX,
  needJudgeResContent: false,
  url: '/login',
  method: 'post'
})
